import request from '@/utils/request'

// 线路关联酒店列表
export function apiLineHotelRelLists(params: any) {
    return request.get({ url: '/line_hotel_rel/lists', params })
}

// 添加线路关联酒店
export function apiLineHotelRelAdd(params: any) {
    return request.post({ url: '/line_hotel_rel/add', params })
}

// 编辑线路关联酒店
export function apiLineHotelRelEdit(params: any) {
    return request.post({ url: '/line_hotel_rel/edit', params })
}

// 删除线路关联酒店
export function apiLineHotelRelDelete(params: any) {
    return request.post({ url: '/line_hotel_rel/delete', params })
}

// 线路关联酒店详情
export function apiLineHotelRelDetail(params: any) {
    return request.get({ url: '/line_hotel_rel/detail', params })
}

export function lineAllShop() {
    return request.post({
        url:'/Hotel/getHotelLists'
    })
}
